package com.xuan.entity.po;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *    users表实体类
 * </p>
 *
 * @author xuan
 * @since 2025-06-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("users")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "user_id")
    private Long userId;

    private String username;

    private String password;

    private String email;

    private String phone;

    @TableField("gmt_create")
    private LocalDateTime gmtCreate;
}
